package com.ypx.ec.product.feign;

import com.ypx.ec.common.to.SkuReductionTo;
import com.ypx.ec.common.to.SpuBoundsTo;
import com.ypx.ec.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("ec-coupon")
public interface CouponFeignService{
    @RequestMapping("coupon/spubounds/save")
    public R save(@RequestBody SpuBoundsTo spuBounds);

    @RequestMapping("coupon/skufullreduction/saveInfo")
    public R saveInfo(@RequestBody SkuReductionTo skuReductionTo);

}
